package com.ly.system.service;

import com.aliyuncs.ram.model.v20150501.CreateUserResponse;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.system.entity.TbUser;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author jiangzhu
 * @since 2020-10-27
 */
public interface TbUserService extends IService<TbUser> {

    IPage<TbUser> findUserPage(Page<TbUser> page, @Param(Constants.WRAPPER) QueryWrapper<TbUser> queryWrapper);
    public void addUser(TbUser user);

    public void updUser(TbUser user);

     void exportUserExcel(HttpServletResponse response, List<TbUser> users) throws IOException;
    public void updatestatus(Integer status,Integer id);

}
